package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 炼厂油品报价
 * @Author: jeecg-boot
 * @Date:   2024-03-25
 * @Version: V1.0
 */
@Data
@TableName("ysy_refinery_price")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ysy_refinery_price对象", description="炼厂油品报价")
public class YsyRefineryPrice {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**炼厂id*/
	@Excel(name = "炼厂id", width = 15)
    @ApiModelProperty(value = "炼厂id")
	private String ysyRefineryId;
	/**油品类型id*/
	@Excel(name = "油品类型id", width = 15)
    @ApiModelProperty(value = "油品类型id")
	private String ysyOilTypeId;
	/**价格*/
	@Excel(name = "价格", width = 15)
    @ApiModelProperty(value = "价格")
	private Integer price;
	/**类型，1优惠价，2挂挂牌价*/
	@Excel(name = "类型，1优惠价，2挂挂牌价", width = 15)
	@ApiModelProperty(value = "类型，1优惠价，2挂挂牌价")
	private Integer type;
	/**类涨跌幅*/
	@Excel(name = "涨跌幅", width = 15)
	@ApiModelProperty(value = "涨跌幅")
	private Integer chg;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
}
